package com.week.tiny_video.dao;

import com.week.tiny_video.pojo.Category;
import org.springframework.data.jpa.repository.JpaRepository;

public interface CategoryDao extends JpaRepository<Category,Integer> {
    Category findByName(String name);
}
